<% require('shared/html_header.php'); %>
	<title>Game City : <%= $title = $action; %><%= (isset($this->extra_title)) ? " - $this->extra_title" : '' %></title>
	<link href="<%= PUBLIC_HTML; %>stylesheets/main.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<%= PUBLIC_HTML; %>stylesheets/scaffold.css" media="screen" rel="stylesheet" type="text/css" />
	<%= printstyles($action, $controller); %>
	<script id="frameworkJs" src="<%= PUBLIC_HTML; %>javascripts/mahees_js_framework.js" type="text/javascript"></script>
	<script id='customJs' src='<%= PUBLIC_HTML; %>javascripts/<%= "{$controller}/{$action}.js"; %>' type="text/javascript"></script>
</head>
<body>
	<div id="header">
		<noscript>
			<style type="text/css"> body { margin-top:4em; } </style>
			<div id='no-script-warning' >JavaScript is required for this site to function effectivly</div>
		</noscript>
		<div id='loginmenuarea'>
			<% loginlogout(); %>
			<%= link_to($this->cart->get_total_quantity() . ' Item(s)', array('action' => 'showCart')),  ' - $', $this->cart->get_sub_total(); %>
			<%= link_to('My Account','menu', array('id' => 'button')); %>
		</div>
		<%= link_to(image_tag('PageHeader.gif', array('alt' => 'Game City Jamaica')), array('controller' => 'public'), array('id' => 'logo')) %>
		<%= foreachrec($this->nav_bar_array_ul_li);	%>
	</div>
	<div id="content">
		<%  displaynotice(); %>
		<%= $yield; %>
	</div>
	<div id='footer'>
	</div>
</body>
</html>